package com.liuweijiaoyu.demo;

import android.app.Application;
import android.content.Context;

/**
 * Created by lt
 * Created on 2017/9/26 0026.
 */

public class App extends Application {
    private static Context mAppContext;
    @Override
    public void onCreate() {
        super.onCreate();
        mAppContext=this;
    }

    /*
 * 获得全局上下文
 */
    public static Context getAppContext() {

        return mAppContext;
    }

}
